#include "stdafx.h"
#include "ThreadBase.h"

void ThreadBase::BeginThread()
{
	::CreateThread(0,0,ThreadProc,this,0,0);
}

void ThreadBase::Run()
{
}

DWORD WINAPI ThreadBase::ThreadProc(LPVOID lpParam)
{
	ThreadBase* pBase = (ThreadBase*)lpParam;
	pBase->Run();

	return 0;
}